<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title></title>
 <%@ include file="/common/query.jsp"%>
<%@ include file="/common/det.jsp"%>
<script type="text/javascript" src="${base}/js/plugin/jquery-form/jquery.form.min.js"></script>
<script>
    	var url='/sale/marketing/manager?';
		var fenpeiView = getQueryStringByDecode("fenpeiView");
        $(function(){
            initIndex();
        });
        function initIndex(){

            var columns = [
                {field:'id',title:'id',hidden:true},
                {field:'activityName',title:'活动名称',search:{type:"single"}},
                {field:'activityEnName',title:'活动英文名称',search:{type:"single"}},
                {field:'orgID',title:'组织机构',search:{type:"single"}},
                {field:'activityType',title:'市场活动类型',search:{type:"single"}},
                {field:'activityPlace',title:'活动地点',search:{type:"single"}},
                {field:'activityUID',title:'申请员工',search:{type:"single"}},
                {field:'activityDate',title:'申请日期'},
                {field:'budgetAmount',title:'预算总金额'},
                {field:'realAmount',title:'实际总金额'},
                {field:'createDate',title:'创建时间'},
                {field:'createUid',title:'创建者'},
                {field:'updateUid',title:'修改者'},
                {field:'reviewUid',title:'审核者'},
                {field:'status',title:'状态',search:{type:"single"}}
            ];
            createQuery('body',columns,{pager:true,edit:true,xuhao:false,add:true,del:false,heji:false,singleSelect:true,
                toolbar:[
						{text : '<a  class="pure-button pure-button-primary" >详细信息</a>',handler : function(){
						    	var row = getGridChecked()[0];
								window.top.tabAdd("详细信息","${base}/sale/marketing/detail?id="+row.id)
						}}
                ]
			},url);

        }
</script>
</head>
<body>
	  <div id="body"></div>
</body>
</html>